PATCH: version on OSTREE_SIGN_NAME_ED25519
authorFelix Krull <f_krull@gmx.de>
Tue, 25 Aug 2020 17:14:57 +0000 (19:14 +0200)
committerColin Walters <walters@verbum.org>
Fri, 6 May 2022 16:53:56 +0000 (12:53 -0400)
rust-bindings/rust/gir-files/OSTree-1.0.gir
rust-bindings/rust/src/auto/constants.rs
rust-bindings/rust/src/auto/mod.rs
rust-bindings/rust/src/auto/versions.txt
rust-bindings/rust/sys/src/auto/versions.txt

index 7d22c5ebe5cdff7b32186eb381f73456a326c978..41dab726ea53d920831c8f098edb296d6d5d7438 100644 (file)
@@ -13452,7 +13452,8 @@ in bytes, counting only content objects.</doc>
     </constant>
     <constant name="SIGN_NAME_ED25519"
               value="ed25519"
-              c:type="OSTREE_SIGN_NAME_ED25519">
+              c:type="OSTREE_SIGN_NAME_ED25519"
+              version="2020.4">
       <doc xml:space="preserve"
            filename="ostree-sign.h"
            line="52">The name of the default ed25519 signing type.</doc>
index 8ce3e23a6dddf1054c20bdc2b332291cef59680f..8e6ebd4fe4ae7c0f30f96bdd175b39f547fe89d2 100644 (file)
@@ -28,6 +28,7 @@ pub static META_KEY_DEPLOY_COLLECTION_ID: once_cell::sync::Lazy<&'static str> =
 pub static ORIGIN_TRANSIENT_GROUP: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_ORIGIN_TRANSIENT_GROUP).to_str().unwrap()});
 #[cfg(any(feature = "v2018_6", feature = "dox"))]
 pub static REPO_METADATA_REF: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_REPO_METADATA_REF).to_str().unwrap()});
+#[cfg(any(feature = "v2020_4", feature = "dox"))]
 pub static SIGN_NAME_ED25519: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SIGN_NAME_ED25519).to_str().unwrap()});
 pub static SUMMARY_GVARIANT_STRING: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SUMMARY_GVARIANT_STRING).to_str().unwrap()});
 pub static SUMMARY_SIG_GVARIANT_STRING: once_cell::sync::Lazy<&'static str> = once_cell::sync::Lazy::new(|| unsafe{CStr::from_ptr(ostree_sys::OSTREE_SUMMARY_SIG_GVARIANT_STRING).to_str().unwrap()});
index 796b21e44a2d552b18ae2d020800559d81c88120..64123ae87758b49d18dbbaa9dbc93613b031ee32 100644 (file)
@@ -158,6 +158,7 @@ pub use self::constants::META_KEY_DEPLOY_COLLECTION_ID;
 pub use self::constants::ORIGIN_TRANSIENT_GROUP;
 #[cfg(any(feature = "v2018_6", feature = "dox"))]
 pub use self::constants::REPO_METADATA_REF;
+#[cfg(any(feature = "v2020_4", feature = "dox"))]
 pub use self::constants::SIGN_NAME_ED25519;
 pub use self::constants::SUMMARY_GVARIANT_STRING;
 pub use self::constants::SUMMARY_SIG_GVARIANT_STRING;
index ff33bb3edf300576780c92320184c769c9cc1baa..e425b4d9b0e0c8d650fcf08cd64aae2865d8d7ba 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ b1a822b+)
+from gir-files (https://github.com/gtk-rs/gir-files @ b1bed0a+)
index ff33bb3edf300576780c92320184c769c9cc1baa..e425b4d9b0e0c8d650fcf08cd64aae2865d8d7ba 100644 (file)
@@ -1,2 +1,2 @@
 Generated by gir (https://github.com/gtk-rs/gir @ 2d1ffab1)
-from gir-files (https://github.com/gtk-rs/gir-files @ b1a822b+)
+from gir-files (https://github.com/gtk-rs/gir-files @ b1bed0a+)